package ToYesterday.Day02.linklist;

public class LinklisTest {
    public static void main(String[] args) {
        Linklist l = new Linklist();
//        l.getSize();
        Linklist.insertListRear(l,new Linklist.Node<String>("hello"));
        Linklist.insertListRear(l,new Linklist.Node<String>("this"));
        Linklist.insertListRear(l,new Linklist.Node<String>("good"));
        Linklist.insertListRear(l,new Linklist.Node<String>("good"));
        Linklist.Node nodeq = new Linklist.Node();
        Linklist.getNode(l,2,nodeq);
        System.out.println(nodeq.data);
    }
}
